<%@ page contentType="text/html;charset=UTF-8" %>
<%@page import="com.boxin.ims.modules.wechat.entity.WechatMember"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="Cache-Control" content="no-store" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<meta http-equiv="X-UA-Compatible" content="IE=7,IE=9,IE=10" />
<script src="${ctxStatic}/jquery/jquery-1.9.1.min.js" type="text/javascript"></script>
<link href="${ctxStatic}/mobile-template/default/css/default.css" type="text/css" rel="stylesheet" />
<link href="${ctxStatic}/mobile-template/default/css/style.css" type="text/css" rel="stylesheet" />

<%
	String _uid = String.valueOf(session.getAttribute("uid"));
	WechatMember member = (WechatMember) session.getAttribute("wechatUser"+_uid);
	if(member == null){
		//éæ°ç»å½
		
%>
	<script type="text/javascript">
		//location.href = "${ctxFront}/wechat/login/";
	</script>
<% 
	} 
%>


<div class="topbar clearfix">
					<div class="topbarbg"></div>
					<div id="min_nav">
						<!--login -->
						<div class="min_nav_right_text">
							<% if(member == null){%> <a href="${ctxFront }/wechat/login/${id}?wechatId=${wechatId}">登录</a>|<a href="${ctxFront }/wechat/bind/${id}?wechatId=${wechatId}">申请注册微会员</a><%}else{ %>
							欢迎您  <%=member.getName() %> | <a href="${ctxFront }/wechat/logout/${uid}?wechatId=${wechatId}">退出</a>
							<%} %>
						</div>
					</div>
				</div>